package team.kirohuji.manager.utils;

import java.util.HashMap;
import java.util.Map;

import team.kirohuji.manager.entity.DeviceActualResources;
import team.kirohuji.manager.entity.DeviceStaticResources;

/**
 * 
 * what
 * 
 * @author
 * @version 0.1
 */
public class SNMPTEST {
	public static void main(String args[]) {
		Map<String, String> data = new HashMap<String, String>();
		String ipAddress = "10.0.0.1";
		String community = "public";
		DeviceActualResources dar = DeviceResourcesBuilder.deviceActualResourcesBuild(ipAddress, community);
		System.out.println(dar.toString());

		DeviceStaticResources dsr = DeviceResourcesBuilder.deviceStaticResourcesBuild(ipAddress, community);
		System.out.println(dsr.toString());
		/*
		 * SnmpOperaUtil.snmpGet(data, ipAddress, community, "1.3.6.1.4.1.2021.4.6.0");
		 * for(Entry<String,String> entry:data.entrySet()) {
		 * System.out.printf("%s = %s\n",entry.getKey(),entry.getValue()); }
		 */
	}
}
